all: pi.exe hello.exe mandel.exe

%.exe: %.obj
	gcc -o ${@} ${<} -fopenmp

%.obj: %.c
	gcc -o ${@} -c -Wall ${<} -fopenmp

clean:
	rm -f ./*.obj ./*.exe